The grid will be able to handle them. As of now, it doesn't
do anything with folder icons, or icons in folders.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1284
}
_canAccept(source) {
- if (!(source instanceof AppIcon))
- return false;
-
- let view = _getViewFromIcon(source);
- if (!(view instanceof FolderView))
- return false;
-
- return true;
+ return (source instanceof AppIcon) ||
+ (source instanceof FolderIcon);
}
handleDragOver(source) {
return false;
let view = _getViewFromIcon(source);
- view.removeApp(source.app);
+ if (view instanceof FolderView)
+ view.removeApp(source.app);
if (this._currentDialog)
this._currentDialog.popdown();